<!--
 * @Description: 第三十章（编写Vue3插件）
 * @Author: IA ia@kepro.space
 * @Date: 2025-02-20 23:00:26
-->
<template>
  <div>
    <h1>第三十章（编写Vue3插件）</h1>
    <div></div>
  </div>
</template>
<script setup lang="ts">
import { ref, getCurrentInstance } from 'vue'

const instance = getCurrentInstance()

instance?.proxy?.$iLoading?.show()

setTimeout(() => {
  instance?.proxy?.$iLoading?.hide()
}, 5000)
</script>
<style scoped></style>
